﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MaxLeaf.Common;
using System.Data;
using MaxLeaf.DB;

namespace MaxLeaf.DAL
{
    public class SEOrderDALBuilder : BaseDALBuilder
    {
        public SEOrderDALBuilder()
            : base()
        {
            K3DAL = new K3.SEOrderDAL ();
            WebDAL = new Web.SEOrderDAL();
        }
        protected override bool ValidCheck(ServerInfo orgServer, ServerInfo destServer, DataRowView drvLog)
        {
            if (orgServer.Type == destServer.Type)
            {
                //web《-》k3之间分发
                return false;
            }
            return base.ValidCheck(orgServer, destServer, drvLog);
        }

        
    }
}
